package com.rent.user;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "com.rent")
@MapperScan("com.rent.user.mapper")
@EnableDubbo
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
        System.out.println("====================================");
        System.out.println("用户模块启动成功！");
        System.out.println("访问地址：http://localhost:8887/");
        System.out.println("Swagger文档：http://localhost:8887/swagger-ui.html");
        System.out.println("====================================");
    }
}